package com.akk.module.avs.mapper;

import com.akk.module.avs.entity.AvsYbLoan;
import com.akk.module.avs.entity.AvsYbLoanExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AvsYbLoanMapper {
    int countByExample(AvsYbLoanExample example);

    int deleteByExample(AvsYbLoanExample example);

    int deleteByPrimaryKey(Long loanId);

    int insert(AvsYbLoan record);

    int insertSelective(AvsYbLoan record);

    List<AvsYbLoan> selectByExample(AvsYbLoanExample example);

    AvsYbLoan selectByPrimaryKey(Long loanId);

    int updateByExampleSelective(@Param("record") AvsYbLoan record, @Param("example") AvsYbLoanExample example);

    int updateByExample(@Param("record") AvsYbLoan record, @Param("example") AvsYbLoanExample example);

    int updateByPrimaryKeySelective(AvsYbLoan record);

    int updateByPrimaryKey(AvsYbLoan record);
}